package br.ufrpe.bsi.pvs.view.admin;

import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Font;

import javax.swing.DefaultComboBoxModel;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JSpinner;
import javax.swing.JTable;
import javax.swing.JTextArea;
import javax.swing.JTextField;

public class TelaEditarRoupa extends JPanel {
	public static final TelaEditarRoupa INSTANCE = new TelaEditarRoupa();
	private Component textFieldN1;
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textFieldNota1;
	private JTextField textFieldNota2;
	private JTextField textFieldNota3;
	
	/**
	 * Create the panel.
	 * @param textFieldN1 
	 */
	private TelaEditarRoupa() {
		setPreferredSize(new Dimension(1300, 700));
		setBackground(Color.WHITE);
		setLayout(null);
		
		JPanel panel = new JPanel();
		panel.setToolTipText("P");
		panel.setBounds(184, 11, 910, 656);
		add(panel);
		panel.setLayout(null);
		
		JLabel lbl1 = new JLabel("Cadastrar Roupa");
		lbl1.setFont(new Font("Gabriola", Font.PLAIN, 36));
		lbl1.setBounds(331, 37, 260, 27);
		panel.add(lbl1);
		
		JLabel lblDescricao = new JLabel("Descri\u00E7\u00E3o");
		lblDescricao.setFont(new Font("Gabriola", Font.PLAIN, 20));
		lblDescricao.setBounds(268, 127, 89, 21);
		panel.add(lblDescricao);
		
		JLabel lblQuantEstoque = new JLabel("Quantidade em Estoque");
		lblQuantEstoque.setFont(new Font("Gabriola", Font.PLAIN, 20));
		lblQuantEstoque.setBounds(268, 348, 153, 21);
		panel.add(lblQuantEstoque);
		
		JLabel lblEstilo = new JLabel("Estilo");
		lblEstilo.setFont(new Font("Gabriola", Font.PLAIN, 20));
		lblEstilo.setBounds(268, 189, 73, 27);
		panel.add(lblEstilo);
		
		JLabel lblTipoCorporeo = new JLabel("Tipo de Corp\u00F3reo");
		lblTipoCorporeo.setFont(new Font("Gabriola", Font.PLAIN, 20));
		lblTipoCorporeo.setBounds(268, 266, 153, 27);
		panel.add(lblTipoCorporeo);
		
		JComboBox comboTipoRoupa = new JComboBox();
		comboTipoRoupa.setFont(new Font("Gabriola", Font.PLAIN, 20));
		comboTipoRoupa.setModel(new DefaultComboBoxModel(new String[] {"Cal\u00E7a", "Camisa/Blusa", "Bermuda/Short", "Vestido", "Saia"}));
		comboTipoRoupa.setSelectedIndex(0);
		comboTipoRoupa.setBounds(351, 227, 140, 20);
		panel.add(comboTipoRoupa);
		
		JButton btnSalvar = new JButton("Salvar");
		btnSalvar.setFont(new Font("Gabriola", Font.PLAIN, 20));
		btnSalvar.setBounds(750, 622, 89, 23);
		panel.add(btnSalvar);
		
		JLabel lblTipodeRoupa = new JLabel("Tipo");
		lblTipodeRoupa.setFont(new Font("Gabriola", Font.PLAIN, 20));
		lblTipodeRoupa.setBounds(268, 227, 52, 21);
		panel.add(lblTipodeRoupa);
		
		JLabel lblTamanho = new JLabel("Tamanho");
		lblTamanho.setFont(new Font("Gabriola", Font.PLAIN, 20));
		lblTamanho.setBounds(268, 314, 60, 21);
		panel.add(lblTamanho);
		
		JLabel lblNotas = new JLabel("Notas");
		lblNotas.setFont(new Font("Gabriola", Font.PLAIN, 20));
		lblNotas.setBounds(268, 588, 73, 19);
		panel.add(lblNotas);
		
		JComboBox comboBoxTipoCorpo = new JComboBox();
		comboBoxTipoCorpo.setModel(new DefaultComboBoxModel(new String[] {"Pera", "Tri\u00E2ngulo Invertido", "Ampulheta", "Ret\u00E2ngulo", "Oval"}));
		comboBoxTipoCorpo.setFont(new Font("Gabriola", Font.PLAIN, 20));
		comboBoxTipoCorpo.setBounds(382, 269, 140, 20);
		panel.add(comboBoxTipoCorpo);
		
		JCheckBox chckbxPP = new JCheckBox("PP/34");
		chckbxPP.setFont(new Font("Gabriola", Font.PLAIN, 20));
		chckbxPP.setBounds(346, 313, 61, 23);
		panel.add(chckbxPP);
		
		JCheckBox chckbxM = new JCheckBox("M/40-42");
		chckbxM.setFont(new Font("Gabriola", Font.PLAIN, 20));
		chckbxM.setBounds(494, 313, 89, 23);
		panel.add(chckbxM);
		
		JTextArea textAreaDescricao = new JTextArea();
		textAreaDescricao.setBounds(352, 89, 318, 89);
		panel.add(textAreaDescricao);
		
		JSpinner spinnerPP = new JSpinner();
		spinnerPP.setToolTipText("");
		spinnerPP.setBounds(470, 348, 52, 20);
		panel.add(spinnerPP);
		
		JComboBox comboBoxEstilo = new JComboBox();
		comboBoxEstilo.setFont(new Font("Gabriola", Font.PLAIN, 20));
		comboBoxEstilo.setModel(new DefaultComboBoxModel(new String[] {"Casual", "Fashion", "Cl\u00E1ssico"}));
		comboBoxEstilo.setBounds(352, 192, 139, 20);
		panel.add(comboBoxEstilo);

		JCheckBox chckbxG = new JCheckBox("G/44-46");
		chckbxG.setFont(new Font("Gabriola", Font.PLAIN, 20));
		chckbxG.setBounds(585, 313, 77, 23);
		panel.add(chckbxG);
		
		JCheckBox chckbxP = new JCheckBox("P/36-38");
		chckbxP.setFont(new Font("Gabriola", Font.PLAIN, 20));
		chckbxP.setBounds(419, 313, 73, 23);
		panel.add(chckbxP);
		
		JCheckBox chckbxGG = new JCheckBox("GG/48-50");
		chckbxGG.setFont(new Font("Gabriola", Font.PLAIN, 20));
		chckbxGG.setBounds(665, 313, 89, 23);
		panel.add(chckbxGG);
		
		JLabel lblPP = new JLabel("PP");
		lblPP.setFont(new Font("Gabriola", Font.PLAIN, 20));
		lblPP.setBounds(431, 349, 29, 18);
		panel.add(lblPP);
		
		JLabel lblP = new JLabel("P");
		lblP.setFont(new Font("Gabriola", Font.PLAIN, 20));
		lblP.setBounds(431, 388, 29, 18);
		panel.add(lblP);
		
		JLabel lblM = new JLabel("M");
		lblM.setFont(new Font("Gabriola", Font.PLAIN, 20));
		lblM.setBounds(431, 433, 29, 18);
		panel.add(lblM);
		
		JSpinner spinnerP = new JSpinner();
		spinnerP.setToolTipText("");
		spinnerP.setBounds(470, 387, 52, 20);
		panel.add(spinnerP);
		
		JSpinner spinnerM = new JSpinner();
		spinnerM.setToolTipText("");
		spinnerM.setBounds(470, 432, 52, 20);
		panel.add(spinnerM);
		
		JLabel lblG = new JLabel("G");
		lblG.setFont(new Font("Gabriola", Font.PLAIN, 20));
		lblG.setBounds(431, 474, 29, 18);
		panel.add(lblG);
		
		JLabel lblGG = new JLabel("GG");
		lblGG.setFont(new Font("Gabriola", Font.PLAIN, 20));
		lblGG.setBounds(431, 510, 29, 18);
		panel.add(lblGG);
		
		JLabel lblXg = new JLabel("XG");
		lblXg.setFont(new Font("Gabriola", Font.PLAIN, 20));
		lblXg.setBounds(431, 545, 29, 18);
		panel.add(lblXg);
		
		JSpinner spinnerG = new JSpinner();
		spinnerG.setToolTipText("");
		spinnerG.setBounds(470, 473, 52, 20);
		panel.add(spinnerG);
		
		JSpinner spinnerGG = new JSpinner();
		spinnerGG.setToolTipText("");
		spinnerGG.setBounds(470, 509, 52, 20);
		panel.add(spinnerGG);
		
		JSpinner spinnerXG = new JSpinner();
		spinnerXG.setToolTipText("");
		spinnerXG.setBounds(470, 544, 52, 20);
		panel.add(spinnerXG);
		
		JCheckBox checkBoxXG = new JCheckBox("XG/52-54");
		checkBoxXG.setFont(new Font("Gabriola", Font.PLAIN, 20));
		checkBoxXG.setBounds(750, 313, 89, 23);
		panel.add(checkBoxXG);
		
		textFieldNota1 = new JTextField();
		textFieldNota1.setBounds(331, 584, 52, 27);
		panel.add(textFieldNota1);
		textFieldNota1.setColumns(10);
		
		textFieldNota2 = new JTextField();
		textFieldNota2.setColumns(10);
		textFieldNota2.setBounds(393, 584, 52, 27);
		panel.add(textFieldNota2);
		
		textFieldNota3 = new JTextField();
		textFieldNota3.setColumns(10);
		textFieldNota3.setBounds(455, 584, 52, 27);
		panel.add(textFieldNota3);
		
	}

}
